package org.example.mapreduce.factory;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.Job;

import java.io.IOException;

abstract class AbstractJobFactory {

    /**
     * 返回指定的mapReduce的job
     *
     * @param conf 配置
     * @throws  IOException IO异常
     * @return 返回相应的job
     * */
    abstract Job getJob(Configuration conf) throws IOException;
}
